package com.zhixiang.xaec.entity.health;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Table;

import org.hibernate.cfg.Comment;

import com.googlecode.jsonplugin.annotations.JSON;
import com.zhixiang.xaec.entity.BaseEntity;

@Entity
@Table(name="health_AccidentInjury")
@Comment("事故工伤管理")
public class AccidentInjury extends BaseEntity{

	@Comment("事故名称")
	private String accidentName;
	@Comment("事故等级(1、特别重大事故，2、重大事故，3、较大事故，4、一般事故)")
	private Integer accidentGrade;
	@Comment("员工名称")
	private String personName;
	@Comment("所在部门")
	private String department;
	@Comment("劳动鉴定")
	private String laborAppraisal;
	@Comment("经办人")
	private String managers;
	@Comment("事故时间")
	private Date accidentDate;
	@Comment("处理时间")
	private Date handleDate;
	@Comment("工伤证书编号")
	private String certificateNo;
	@Comment("受伤经过")
	private String injuredAfter;
	@Comment("受伤原因及责任人")
	private String personLiable;
	
	@Comment("领导处理意见")
	private String opinion;

	public String getAccidentName() {
		return accidentName;
	}

	public void setAccidentName(String accidentName) {
		this.accidentName = accidentName;
	}

	public Integer getAccidentGrade() {
		return accidentGrade;
	}

	public void setAccidentGrade(Integer accidentGrade) {
		this.accidentGrade = accidentGrade;
	}

	public String getPersonName() {
		return personName;
	}

	public void setPersonName(String personName) {
		this.personName = personName;
	}

	public String getDepartment() {
		return department;
	}

	public void setDepartment(String department) {
		this.department = department;
	}

	public String getLaborAppraisal() {
		return laborAppraisal;
	}

	public void setLaborAppraisal(String laborAppraisal) {
		this.laborAppraisal = laborAppraisal;
	}

	public String getManagers() {
		return managers;
	}

	public void setManagers(String managers) {
		this.managers = managers;
	}
	@JSON(format="yyyy-MM-dd")
	public Date getAccidentDate() {
		return accidentDate;
	}

	public void setAccidentDate(Date accidentDate) {
		this.accidentDate = accidentDate;
	}
	@JSON(format="yyyy-MM-dd")
	public Date getHandleDate() {
		return handleDate;
	}

	public void setHandleDate(Date handleDate) {
		this.handleDate = handleDate;
	}

	public String getCertificateNo() {
		return certificateNo;
	}

	public void setCertificateNo(String certificateNo) {
		this.certificateNo = certificateNo;
	}

	public String getInjuredAfter() {
		return injuredAfter;
	}

	public void setInjuredAfter(String injuredAfter) {
		this.injuredAfter = injuredAfter;
	}

	public String getPersonLiable() {
		return personLiable;
	}

	public void setPersonLiable(String personLiable) {
		this.personLiable = personLiable;
	}

	public String getOpinion() {
		return opinion;
	}

	public void setOpinion(String opinion) {
		this.opinion = opinion;
	}
	
	
}
